package com.zyq.service;

/**
 * @author: zyq
 * @create: 2022-03-04
 **/
public interface ISignInService {

    /**
     * 插入签到表
     * @param userId
     * @param topicId
     * @return
     */
    public int insertSignIn(Long userId,Long topicId);

    /**
     * 统计签到次数
     */
    public int getTimes(Long userId);

    int countSignIn(Long userId, Long topicId);
}
